package javabasics;

public class ExceptionTest {
    public static void main(String[] args){
try {
    sss(9, 3);
}catch (Exception e){
    System.out.printf("异常出现");
}
    }

    public static int sss(int s, int ss) throws Exception{
    int p = 0;
        if(p == s%ss){
            throw new Exception("yichang ");
        }else{
            return 90;
        }
    }
}
